cmake_minimum_required(VERSION 3.10)
project(demo4)

# 设置C++标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)


# 添加可执行文件
add_executable(http_server src/main.cpp)

# 链接libevent库
target_link_libraries(http_server PRIVATE event event_core event_pthreads)
